/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2022-03-27 22:53:57
 * @LastEditTime: 2025-04-18 21:00:36
 * @FilePath: /lottery-box-react-master/src/routes/config.ts
 */
import ReactLazilyComponent from 'react-lazily-component';

// 页面路由配置
export const staticRoutes =  [
  {
    pathname: '/',
    name: 'Index',
    title: '首页',
    component: ReactLazilyComponent(() => import('@/views/index/index')),
    meta: {
      navigation: '首页'
    }
  },
  {
    pathname: '/login',
    name: 'Login',
    component: ReactLazilyComponent(() => import('@/views/login'))
  },
  {
    pathname: '*',
    name: 'Error',
    component: ReactLazilyComponent(() => import('@/views/error'))
  }
];
